﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Prism.Commands;

namespace BBInterfaceNET.Events.Commands
{
    public static class InfrastructureCommands
    {
        private static CompositeCommand saveAllCmd, saveCmd, shutdownCmd;

        static InfrastructureCommands()
        {
            saveAllCmd = new CustomCompositeCommand();
            saveCmd = new CustomCompositeCommand(true);
            shutdownCmd = new CompositeCommand();
        }

        public static CompositeCommand SaveAllCommand
        {
            get { return saveAllCmd; }
        }
        public static CompositeCommand SaveCommand
        {
            get { return saveCmd; }
        }
        public static CompositeCommand ShutdownCommand
        {
            get { return shutdownCmd; }
        }
    }
}
